Skip to content

id: allow test-only unwraps in boards records test modules - #12675

Merged
dezren39 merged 1 commit into
mainfrom
claude/fix-records-test-clippy
Nov 22, 2026
Merged

dezren39 merged 1 commit into
mainfrom
claude/fix-records-test-clippy

Conversation

@dezren39

@dezren39 dezren39 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Before: clippy-lint for pkgs/id fails on main with seven clippy::unwrap_used errors in src/boards/records.rs test code (lines 575, 622, 789, 834, 836, 850, 867).

After: cargo clippy -p id --all-targets --all-features reports no errors.

How: the note_anchor_tests and note_projection_properties test modules get the same #[allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] attribute the crate's other test modules carry (for example boards.rs and artifact.rs). Test code only; no runtime change.

Refs #12665


Generated by Claude Code


Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The note anchor and note projection test modules in boards/records.rs
lacked the test-module clippy allow the rest of the crate uses, so
clippy-lint failed on main with seven unwrap_used errors.

Refs #12665

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 22, 2026 20:45
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 20:45
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 52c9c7bd-ec1a-4294-8d71-044c18cedd95
Commits

Reviewing files that changed from the base of the PR and between e2c8cc0 and 6f2ae66.

Files selected for processing: 1

  • pkgs/id/src/boards/records.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T20:46:53.876956Z 6f2ae66 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit bb15295 into main Nov 22, 2026
2 checks passed
@dezren39
dezren39 deleted the claude/fix-records-test-clippy branch November 22, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants